package com.health.db.service.msg.impl;

import java.util.List;

import com.health.db.dao.msg.IHospitalSpecimenDetailDao;
import com.health.db.model.HospitalSpecimenDetail;
import com.health.db.model.HospitalSpecimenDetailExample;
import com.health.db.service.msg.IHospitalSpecimenDetailService;

public class HospitalSpecimenDetailServiceImpl implements IHospitalSpecimenDetailService {

	 private IHospitalSpecimenDetailDao hospitalSpecimenDetailDao;
	
	@Override
	public long countByExample(HospitalSpecimenDetailExample example) {
		// TODO Auto-generated method stub
		return hospitalSpecimenDetailDao.countByExample(example);
	}

	@Override
	public int insert(HospitalSpecimenDetail record) {
		// TODO Auto-generated method stub
		return hospitalSpecimenDetailDao.insert(record);
	}

	@Override
	public int insertSelective(HospitalSpecimenDetail record) {
		// TODO Auto-generated method stub
		return hospitalSpecimenDetailDao.insertSelective(record);
	}

	@Override
	public List<HospitalSpecimenDetail> selectByExample(
			HospitalSpecimenDetailExample example) {
		// TODO Auto-generated method stub
		return hospitalSpecimenDetailDao.selectByExample(example);
	}

	@Override
	public HospitalSpecimenDetail selectByPrimaryKey(Long id) {
		// TODO Auto-generated method stub
		return hospitalSpecimenDetailDao.selectByPrimaryKey(id);
	}

	public IHospitalSpecimenDetailDao getHospitalSpecimenDetailDao() {
		return hospitalSpecimenDetailDao;
	}

	public void setHospitalSpecimenDetailDao(
			IHospitalSpecimenDetailDao hospitalSpecimenDetailDao) {
		this.hospitalSpecimenDetailDao = hospitalSpecimenDetailDao;
	}
}